package net.myjung.content;

import org.springframework.beans.BeansException;
import org.springframework.beans.factory.BeanFactory;
import org.springframework.beans.factory.BeanFactoryAware;

public class CttFactory implements BeanFactoryAware {
	private static BeanFactory bf = null;
	private static ICttManager cttManager;
	public static ICttManager getManager() {
		if (cttManager == null)
			cttManager = (ICttManager) bf.getBean("cttManager");
		return cttManager;
	}
	public void setBeanFactory(BeanFactory value) throws BeansException {
		bf = value;
	}
}